const express = require("express");
const router = express.Router();

// 登录相关路由
const accessRouter = require("./access");
router.use("/access", accessRouter);

// 图书相关路由
const bookRouter = require("./book");
router.use("/book", bookRouter);

// 书单相关路由
const bookListRoute = require("./bookList");
router.use("/bookList", bookListRoute);

// 图书借阅相关
const bookBorrowRoute = require("./bookBorrow");
router.use("/borrow", bookBorrowRoute);

// 其他api
const otherRoute = require("./other");
router.use("/other", otherRoute);

module.exports = router;
